package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 ry_incomemanagement_kpl
 * 
 * @author ruoyi
 * @date 2024-09-23
 */
public class RyIncomemanagementKpl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收入id */
    private Long id;

    /** 收入金额 */
    @Excel(name = "收入金额")
    private BigDecimal amount;

    /** 收入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 结算状态 */
    @Excel(name = "结算状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("amount", getAmount())
            .append("date", getDate())
            .append("status", getStatus())
            .toString();
    }
}
